package com.yt.order.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

import com.yt.common.dto.BaseDTO;

/**
 * 员工星级表DTO
 *
 * @author zhou
 * @Date 2025-09-15 16:19:26
 */
@Data
@TableName("emp_rating_stats")
@ApiModel(value="员工星级表对象", description="员工星级表对象")
public class EmpRatingStatsDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "员工ID（对应sys_user表中的id）")
    private Long empId;
    @ApiModelProperty(value = "平均评星（保留一位小数）")
    private BigDecimal totalRating;
    @ApiModelProperty(value = "评价总数")
    private Integer evaluationCount;
    @ApiModelProperty(value = "5星评价数量")
    private Integer fiveStarCount;
    @ApiModelProperty(value = "4星评价数量")
    private Integer fourStarCount;
}